package com.bonc.modules.rpt.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bonc.datasource.annotation.DataSource;
import com.bonc.modules.rpt.entity.SuddenEventEntity;
import com.bonc.modules.rpt.result.SuddenEventStatResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author jinlong
 * @date 2021/8/4
 */
@DataSource("data")
@Mapper
public interface SuddenEventDao extends BaseMapper<SuddenEventEntity> {

    public List<SuddenEventStatResult> selectSuddenEventStatByDay(List<String> dateList);

    public List<SuddenEventStatResult> selectSuddenEventStatByMonth(List<String> dateList);
}
